package com.lx.test.exception;

import com.lx.test.log.exception.AppException;

/**
 * @author lX
 * @version JDK 8
 * @className ParamException (此处以class为例)
 * @date 2024/6/4
 * @description TODO
 */
public class ParamException extends AppException {
    private static final long serialVersionUID = 6658892968744503987L;
    static int error_code = -2;

    public ParamException() {
    }

    public ParamException(int code) {
        super(code);
    }

    public ParamException(String message) {
        super(error_code, message);
    }

    public ParamException(int code, String message) {
        super(code, message);
    }

    public ParamException(Throwable cause) {
        super(cause);
    }

    public ParamException(String message, Throwable cause) {
        super(error_code, message, cause);
    }

    public ParamException(int code, String message, Throwable cause) {
        super(code, message, cause);
    }
}
